package com.neuedu.model;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

public class Device {
	private int deviceNo;
	private String deviceName;
	private DeviceType deviceType;
	private Provider provider;
	private String content;
	@JSONField(format="yyyy/MM/dd HH:mm:ss")	
	private Date posttime;
	private String images;
	public int getDeviceNo() {
		return deviceNo;
	}
	public void setDeviceNo(int deviceNo) {
		this.deviceNo = deviceNo;
	}
	public String getDeviceName() {
		return deviceName;
	}
	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}
	public DeviceType getDeviceType() {
		return deviceType;
	}
	public void setDeviceType(DeviceType deviceType) {
		this.deviceType = deviceType;
	}
	public Provider getProvider() {
		return provider;
	}
	public void setProvider(Provider provider) {
		this.provider = provider;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getPosttime() {
		return posttime;
	}
	public void setPosttime(Date posttime) {
		this.posttime = posttime;
	}
	public String getImages() {
		return images;
	}
	public void setImages(String images) {
		this.images = images;
	}
	public Device(int deviceNo, String deviceName, DeviceType deviceType, Provider provider, String content,
			Date posttime, String images) {
		super();
		this.deviceNo = deviceNo;
		this.deviceName = deviceName;
		this.deviceType = deviceType;
		this.provider = provider;
		this.content = content;
		this.posttime = posttime;
		this.images = images;
	}
	public Device() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
